$(function() {
	$.post(base + "admin/settleCategory/findAllSettleCategory.action", null, function(data) {
		data = eval(data);
		var item;
		for (var i = 0; i < data.length; i ++) {
			item = "<option value='" + data[i].id + "'>" + data[i].settleName + "</option>";
			$("#settleType").append(item);
		}
		$("#settleType").select2();
	});
	$.post(base + "admin/transportMode/findAllTransportMode.action", null, function(data) {
		data = eval(data);
		var item;
		for (var i = 0; i < data.length; i ++) {
			item = "<option value='" + data[i].id + "'>" + data[i].modeName + "</option>";
			$("#transportMode").append(item);
		}
		$("#transportMode").select2();
	});
	$.post(base + "admin/franchiser/findAllFranchiserFund.action", null, function(data) {
		data = eval(data);
		var item;
		for (var i = 0; i < data.length; i ++) {
			item = "<option value='" + data[i].id + "'>" + data[i].accountType + "(" + data[i].owner + ")" + "</option>";
			$("#franchiser").append(item);
		}
		$("#franchiser").select2();
	});
});